package com.example.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.entity.Group;

import java.util.List;

public interface GroupService {
    Object selectByUsername(String groupName);

    void insert(Group group);

    void updateById(Group group);

    void deleteById(Long id);

    Page<Group> selectPage(Integer pageNum, Integer pageSize, String search);

    List<Group> selectAll(Group group);
}
